tsset year
*Results reported in Table 1
reg indmood100 l.indmood100 demmood100
reg indmood100 l.indmood100 repmood100
reg indmood100 l.indmood100 demmood100 repmood100
newey d.indmood d.demmood d.repmood, lag(1)
*Results reported in Table 2
reg d.demmood l.demmood d.domestic10b l.domestic10b d.defense10b l.defense10b d.top1share l.top1share ///
d.inflation l.inflation d.unemployment l.unemployment
est store dem
reg d.repmood l.repmood d.domestic10b l.domestic10b d.defense10b l.defense10b d.top1share l.top1share ///
d.inflation l.inflation d.unemployment l.unemployment
est store rep
suest dem rep
*Recover variance-covariance matrix from SER estimation for computing the standard errors of the model's LRMs.
matrix list e(V)
